home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1998 August / PC Direct August 1998.iso / S / powerj / Product / hpp.z / dtjbutn.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1997-04-04  |  973 b   |  37 lines

  1. // Design Time Java Button  implementation. (HPP)
  2.  
  3. #ifndef _DTJBUTN_HPP
  4. #define _DTJBUTN_HPP
  5.  
  6. #include "dtjcomp.hpp"
  7.  
  8. class METAEXPORTCLASSDEF DTJButton : public DTJComponent 
  9. {
  10.     public:
  11.         DTJButton( const MetaObject * pMetaObj );
  12.         virtual ~DTJButton();
  13.  
  14.     //
  15.     // DefaultStyle
  16.     //
  17.     //    The style with which new instances are created.  Default
  18.     //    implementation returns GetWindow()->GetDefaultStyle().
  19.  
  20.     virtual WStyle        GetDefaultStyle() const;
  21.  
  22.         virtual void GenerateCode( MMCodeGeneration mmCodeGen,
  23.                    ostream& src,
  24.                    MMCodeGenerationParms& pGenParms );
  25.  
  26.     virtual WBool        Create( WWindow * parent, const WRect & r,
  27.                         const WChar * text, WStyle style,
  28.                     WStyle exStyle, void * data = NULL,
  29.                     WBool isLoading = FALSE );
  30. };
  31.  
  32. // needed for mdreader
  33. typedef DTJButton DTjava__dot__awt__dot__Button__dot__102;
  34. typedef WButton java__dot__awt__dot__Button__dot__102;
  35.  
  36. #endif // _DTJBUTN_HPP
  37.